from . import views
from . import manager_views
from django.urls import path
from . import studentViews

urlpatterns = [
    path('', views.login),
    path('showcode/', views.show_code),
    path('operate_login/', views.operate_login),
    path('register/', views.register),
    path('operate_register/', views.operate_register),
    path('operate_logout/', views.logout),
    path('modify/', views.modify),
    path('myhome/', views.myHome),
    path('classadd/', views.tch_createClass),
    path('classdel/', views.tch_deleteClass),

    path('classJoin/', studentViews.stu_classJoin),
    path('stu_submit/', studentViews.studentSubmit),

    path('account_show/', manager_views.accountShow),
    path('account_del/', manager_views.accountDel),
    path('log_show/', manager_views.logShow),
    path('database_show/', manager_views.databaseShow),
    path('database_backup/', manager_views.databaseBackup),
    path('database_rollback/', manager_views.databaseRestore),
    path('model_show/', manager_views.modelShow),
    path('classExit/', views.tch_deleteClass),

]
